

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 74646
 * Date: 2022-02-07
 * Time: 20:40
 */


import com.bit.demo1.Test;

public class TestDemo {
    public static void main(String[] args) {

    }

    public static void main2(String[] args) {
        System.out.println("hello");

        double x = 30;
        double y = 40;
        // 静态导入的方式写起来更方便一些.
        // double result = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
        double result = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
        System.out.println(result);
    }

    public static void main1(String[] args) {
       java.util. Date  date = new java.util.Date();
        //得到一个毫秒级别的时间戳
        System.out.println(date.getTime());
    }
}
